#ifndef ANIMATION_H

#define ANIMATION_H

#include "Drawable.h"

class Animation : public Drawable
{
public:
	Animation(std::string filename, int frameWidth, int frameHeight, int frameCountX, int frameCountY);
	~Animation();

	void DrawAnimation(SDL_Surface* destinationSurface, int x, int y);

private:
	int width, height, fcX, fcY;
	SDL_Surface* spriteSheet;

	int currentFrameX;
	int currentFrameY;

	int frameOffSetX;
	int frameOffSetY;

};

#endif